package com.sunyur.tailor.channel.service.middle.feishu;

import com.sunyur.tailor.channel.common.middle.base.ChannelResult;
import com.sunyur.tailor.channel.dal.org.entity.FSBackDO;
import com.sunyur.tailor.channel.dal.org.mapper.FSBackMapper;
import com.sunyur.tailor.channel.service.inner.workflow.param.WorkFlowSyncTaskParam;

public interface FSApprovalService {
    /**
     * 同步审批进度
     * @param param
     * @return
     */
    ChannelResult syncTask(WorkFlowSyncTaskParam param);


    FSBackDO getFSBackDOByInstanceCode(String instanceCode);


    /**
     * 获取单个审批实例详情
     * @param instanceCode
     * @return
     */
    ChannelResult getApprovalByInstanceCode(String instanceCode);



    ChannelResult getApprovalNameByUserId(String userId);
}
